Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possibility to swap source format. #298

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Possibility to swap source format. #298

wants to merge 2 commits into from

Conversation

Spope
Copy link

@Spope Spope commented Jun 22, 2013

Added a 'format' option to swap picture format with a setFormat('image') function.

Default is set to 'image', ligthbox will still use 'big' but we can set any other format.

Here is an exemple to do a 'Youtube like' expand

It allow to swap source by using setFormat('big'). Format string used
need to be into the data object.

The goal is to swap format when modifying galleria size (like on
Youtube video)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant